package com.guigu.service;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guigu.mapper.EmployeeMapper;
import com.guigu.pojo.Employee;

@Service
public class EmployeeService {
	@Resource 
	EmployeeMapper employeeMapper;
	
	public List<Employee> getAll()
	{
		return employeeMapper.selectByExampleWithDept(null);
	}
}
